#include "accessibledefine.h"

#include "widget.h"
#include "thermometerwidget.h"

// 添加accessible
SET_WIDGET_ACCESSIBLE(Widget, QAccessible::Form, "widget")
SET_BUTTON_ACCESSIBLE(ThermometerWidget, "thermometerwidget.h")

QAccessibleInterface *accessibleFactory(const QString &classname, QObject *object)
{
    QAccessibleInterface *interface = nullptr;

    USE_ACCESSIBLE(classname, Widget);
    USE_ACCESSIBLE(classname, ThermometerWidget);

    return interface;
}
